<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Pragma" content="no-cache" />
		<title>我的易安</title>
		<%@ include file="/user_comm.jsp"%>
		<!-- publish_detail_ke.css  -->
		<link rel="stylesheet" href="<%=request.getContextPath()%>/css/publish_detail_ke.css" />
			
		<link href="<%=request.getContextPath()%>/css/prop.css"	type="text/css" rel="stylesheet" />
		<script src="<%=request.getContextPath()%>/js/bproduct.js" language="JavaScript"></script>

	</head>
	<body>
		<%@ include file="/user_top.jsp"%>
		<div class="realCer">
			<!--导航-->
			<!--主体部分start-->
			<div class="realMain clearfix mt10">
				<%@ include file="/user_menu.jsp"%>
				<div class="realRight ml10 Buyer">
					<div class="mybox">
						<div class="mytit">
							商品信息
						</div>
						<div class="con Orbuy">
							<s:form id="formpage" name="formpage" action="bproduct_save" namespace="/"
								method="POST" enctype="multipart/form-data">
								<div align="left">
									<%@ include file="/messages.jsp"%>
									<s:token>
									</s:token>
									<s:hidden name="product.id"
										value="%{#request.product.id}" />
									<table class="basicInfor">
										<tr>
											<th>
												<label for="pruductName">
													<font color="red">*</font>商品名称：
												</label>
											</th>
											<td class="fc9">
												&nbsp;
												<span class="at_text t_1_d"> <input
														id="productName" name="product.productName" type="text" style="width: 260px;"
														size="30" maxlength="40" value="${product.productName }"/> 
												</span>
											</td>
										</tr>
										
										<tr>
											<th>
												<label id="lb_companyName" for="companyName">
													<font color="red">*</font>生产厂家：
												</label>
											</th>
											<td>
												&nbsp;
												<span class="at_text t_1_d"><input id="companyName"
														name="product.companyName"  size="30" style="width: 260px;"
														type="text" maxlength="40" value="${product.companyName}"
														title="*必填" /> </span>
											</td>
										</tr>
										<tr>
											<th>
												品牌：
											</th>
											<td>
												&nbsp;
												<s:select name="product.brandId" id="brandId" list="#request.brandList"
													headerKey="-1" headerValue="请选择" 
													style="width: 202px">
												</s:select>
											</td>
										</tr>
										<tr>
											<th>
												<label id="lb_carrierNo" for="batchNumber">
													规格：
												</label>
											</th>
											<td>
												&nbsp;
												<span class="at_text t_1_d"><input id="guige" name="product.guige"  size="30"
														type="text" maxlength="40" value="${product.guige}"
													/> </span>
											</td>
										</tr>
										
										<tr>
											<th>
												包装方式：
											</th>
											<td>
												&nbsp;
												 <span class="at_text t_1_d"><input id="pack"
														name="product.pack" size="30"
														type="text" maxlength="40" value="${product.pack}"
														/>
													</span>
											</td>
										</tr>
										<tr>
											<th>
												产品类别：
											</th>
											<td>
												&nbsp;
												<select name="product.type" id="type"
													style="width: 202px">
													<option value="1">
														正品
													</option>
													<option value="2">
														次品
													</option>
												</select>
											</td>
										</tr>										 
										<tr>
											<td></td>
											<td>
												<a href="javascript:void(0);" class="at_but b_1_y"
													id="reg_sub"><u></u>确认</a>
												<a href="javascript:javascript:history.go(-1);"
														class="at_but b_1_y" id="reg_sub"><u></u>取消</a>
											</td>
										</tr>
									</table>
								</div>

							</s:form>
						</div>
					</div>
					<div>
					</div>
					<!--主体部分end-->
				</div>
			</div>
		</div>
		<!--底部 start-->
		<%@ include file="/user_button.jsp"%>
		<script type="text/javascript">
	new bproduct();
</script>
		<!--底部end-->
	</body>
</html>

